<script setup lang="ts">
import ChatView from "~/components/ChatView.vue";
definePageMeta({
  layout:false
})
const userAlias=useRoute().query.u as string || ''
const receiveId=useRoute().query.receiveId as string || ''
onMounted(()=>{
  if(!receiveId){
    history.back()
  }
})

</script>

<template>
<ChatView
  :userAlias="userAlias"
  :receiverId="receiveId"
/>
</template>

<style scoped>

</style>